// import '@babel/polyfill'
import React,{Component} from 'react';
import {Route,Switch} from 'react-router-dom';
import Login from './pages/login/login';
import Admin from './pages/admin/admin';
// import { Button ,DatePicker} from 'antd';
// import {
//   WechatOutlined,WeiboOutlined,SearchOutlined
// } from '@ant-design/icons';
// import 'antd/dist/antd.css';

export default class App extends Component {
	render(){
		return (
		    <div>
			  <Switch>
			    <Route path="/login" component={Login}/>
			    <Route path="/admin" component={Admin}/>
			  </Switch>
			</div>
		)
	}
}
